﻿using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Display;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DGIS.Service.IService.IRenderService
{
    public interface IRasterLayerRenderService
    {
        /// <summary>
        /// 唯一值渲染
        /// </summary>
        /// <param name="layer">渲染图层</param>
        /// <param name="symbols">渲染值和样式</param>
        /// <param name="labels">描述文字</param>
        /// <returns></returns>
        IRasterLayer CreateUniqueRender(IRasterLayer layer,Dictionary<double, ISymbol> symbols, List<string> labels);

        /// <summary>
        /// 分级渲染
        /// </summary>
        /// <param name="layer">渲染图层</param>
        /// <param name="symbols">渲染值(key为当前分级的最大值)和样式</param>
        /// <param name="labels"></param>
        /// <returns>分级描述文字</returns>
        IRasterLayer CreateClassBreaksRender(IRasterLayer layer,Dictionary<double, ISymbol> symbols, List<string> labels);
    }
}
